import request from "@/utils/request.js";

export default {
	getBanners(data) {
		return request({
			url: 'api/home/getBanners',
			data
		})
	},
	getArticleDetail(data) {
		return request({
			url: 'api/home/getArticleDetail',
			data
		})
	},
	searchArticleList(data) {
		return request({
			url: 'api/home/searchArticleList',
			data
		})
	},
	getInitConfig() {
		return request({
			url: 'api/home/getInitConfig',
		})
	}
}